home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 46
/
Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso
/
-in_the_mag-
/
reader_requests
/
scilab
/
man
/
man-part1
/
cat4
/
cls2dls.4
< prev
next >
Wrap
Text File
|
1999-09-16
|
848b
|
67 lines
cls2dls(1) Scilab Function cls2dls(1)
NAME
cls2dls - bilinear transform
CALLING SEQUENCE
[sl1]=cls2dls(sl,T [,fp])
PARAMETERS
sl,sl1
: linear systems (syslin lists)
T : real number, the sampling period
fp : prevarping frequency in hertz
DESCRIPTION
given sl=[A,B,C,D] (syslin list),a continuous time system cls2dls returns
the sampled system obtained by the bilinear transform s=(2/T)*(z-1)/(z+1).
EXAMPLE
s=poly(0,'s');z=poly(0,'z');
sl=syslin('c',(s+1)/(s^2-5*s+2)); //Continuous-time system in transfer form
slss=tf2ss(sl); //Now in state-spece form
sl1=cls2dls(slss,0.2); //sl1= output of cls2dls
sl1t=ss2tf(sl1) // Converts in transfer form
sl2=horner(sl,(2/0.2)*(z-1)/(z+1)) //Compare sl2 and sl1
SEE ALSO
horner